doctype html
html
  head
    title= title
    link(rel='stylesheet', href='/stylesheets/style.css')
    link(rel='stylesheet', href='/stylesheets/index.css')
    link(rel='stylesheet', href='/stylesheets/bundle.css')
    script(src='/lib/codemirror.js')
    link(rel='stylesheet'  href="/lib/codemirror.css")
    script(src="/mode/javascript/javascript.js")
  body
    block header
      .logo-container
        a(href='/'): img(src='/images/bingzhang_1.png')
      .navbar.navbar-default.navbar-static-top
        .container
          .collapse.navbar-collapse
            - var activeItemNames = {true:'active'}
            ul.nav.navbar-nav
              - var leftItems = ['首页','cocos2dx'];
              - var leftItemsUrl = ['/index','/cocos'];
              each item ,i in leftItems
                li(class= activeItemNames[item == activeItemName]): a(href= leftItemsUrl[i])= item
            ul.nav.navbar-nav.navbar-right
              -var rightItems = ['杂谈','日记'];
              -var rightItemsUrl = ['/default','/default'];
              each item ,i in rightItems
                li(class=activeItemNames[item == activeItemName]): a(href= rightItemsUrl[i])= item
    .container: block container
    block footer